This is due to a special arrangement between the Earth and the Moon called tidal lock or gravitational lock. It is a bit difficult to explain and understand. So adding the video. The first part shows a hypothetical scenario of what it would be like if there were no tidal lock. Second is the real situation.
Another peculiarity caused by this tidal lock is that the side of the Moon facing the Earth always has the Earth in the sky. Neither rises nor sets. At the same time, if you look at it from the other side, there is never an object called earth in their sky.
It’s a bit of a messed up incident. But interesting.