Why do you have to wait 6 weeks for birth control after delivery?

Some women get the bar in the hospital, I just tried to get the shot at this clinic I’m 3 weeks postpartum they say I have to wait six weeks.

Update : I don’t want it because I’m having sex at the moment, I’m waiting til my six week checkup to do that but I want the birth control in my system prior to the six weeks.