From pictures of the place it looks as dry as the moon. It must have been wetter back when the temple was built.
Back in the day (early pharaonic, IIRC) a branch of the Nile ran there. The city was along the way on the road called The King’s Highway, an important trade route.