It only works in flat earth model.
In round model, there is no explanation about in a place in daylight and the other place is 180 degrees in the other side, night side of the earth has moon in the air. This is impossible in the round model.
In the flat earth model, ie, there is many models, but in some models, the earth and sun has different speeds so that sometimes you see the moon in only night and sometimes you see the sun and moon both together. It is possible if they are visible together. I could not explain very well. anyway. perhaps someone else may do it better.
I guess nowadays my energy is going down .