Many of Egypt's primary holidays are based on the Moslem calendar, which is calculated on the changing lunar cycle.
The Moslem calendar is based on the cycle of the moon.