Keyless Remote issue

I went out to open my car door this PM and the keyless remote didn't work - when I got in the car using the key manually, i noticed the car door locks
didn't work. The anti theft radio had to be recoded too - once i recoded the radio, the keyless remote worked. No idea what this would be - any ideas? (I got a new car battery last year.) Thanks
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
Add image file
Upload is a website by car enthusiasts for car enthusiasts. It is not affiliated with any of the car or spare part manufacturers or car dealers discussed here. All logos and trade names are the property of their respective owners.