Key fob confused

  1. #1
    Key fob worked fine locked car with key fob and walked in a shop came out of the shop press the key fob and nothing happened the light on fob was coming on every time I pressed the fob to unlock it so I know it's the the battery and then I fort I will try unlock the drivers door with the key it unlocked and the alarm wouldn't shut up, I then disconnected the car battery and then connected it back up and then my fob started to work , just wanted to know what caused this blip? My fob is the one with the 2 buttons on it big and a small one its 03 plate French electrics