you didn't reinstall it properly. pop the pin and re-insert the bolt catch angled upwards a bit; you'll feel it catch on the catch lever on the other side of the receiver (under the ejection port) and it will move up and down as you rock the bolt catch.
Once it's in properly, then put the pin back in.
__________________
|