Moses gave you the teaching about circumcision (although it didn’t come from Moses but from our ancestors). So you circumcise a male on a day of worship.