Hi! Religion reporter here.
Christians who argue Jesus was a refugee are typically referring to what happened AFTER Jesus was born, when Mary, Joseph, and the newborn child fled to Egypt.
This exegesis is easily Google-able. Or you could just, you know, read it in the Bible.