Technically, Pink Floyd had it wrong. The space-facing side of the moon isn't dark (except at full moon when the Earth is between the sun and the moon). Not that you'd know that, given we always see the same side of our nearest neighbour.
To understand why we only see that one side, we need to explore the relationship between the moon and Earth, and the forces that will slowly, but inexorably, sling the moon from our orbit into space.
As the moon orbits Earth, its gravitational pull raises "tidal bulges" on our planet. Both solid ground and oceans respond to this pull, causing the moon to raise land and ocean tides.
At the same time, the sun also raises tides on Earth which, while noticeably weaker than those caused by the moon, adds a level of complexity to the tides we experience.
When the moon and sun are aligned correctly (either at new moon - when the moon is approximately between Earth and the sun - or at full moon, when Earth is approximately between the moon and the sun), the tides induced by the moon and sun add together, and we get extra-high and extra-low tides. These are commonly known as spring tides.