Possible Causes
WARNING: This page is about a different car, the 2002 Mazda MPV. However, it is still accessible from the selected car via links, so may be relevant.
Faulty transmitter or battery, keyless control module, bracket, ground screw or circuit.