Yeah because sun is stationary
but the earth rotaes around the sun 
when half part of earth looks towards sun its a day and it is night for the opposite portion
suppose say eastern part of the earth faces sun then western part will be towards opposite direction since earth is nearly a globe
but at noon hours the sun is exactly at the top relative to the earth ,so sun dosnt appears in noon hours