Things to do.
Replace the fob batteries unless they are new and have been replaced even if only a couple of months old.I replace the batterys in the fobs every 4 months regardless, low cost that can save problems.
Spray the inside of the fob with electric contact cleaner
Fully charge the car battery. The fob only sends the signal to the module , it is the vehicle battery that does the rest. I very rarely use my Jeep during the week and it sometimes stands for 2 weeks without running, if I do not connect the trickle charger and the battery drains ,my fob does nothing either. I have to charge the battery and then the fob does it job. I have a standard battery not an Optima.
Hope this helps.