machine guns are open bolt
that ar15s bolt is closed
take a look a the m249
notice how you can see the round sitting in front of the barrel
when you pull the trigger the bolt closes and the round fires then it locks back
this is to prevent a 'cook off' because rapid fire makes the barrel very hot