Not possible to tell what happened.
Could be just a bad contact between the sim card and the phone.