90 degree filter adapter bolts

What is the reason some of the bolts have round holes and some have a slot in them? Guessing there’s a reason-just hit me wondering!