Distance to the ACTUAL receiver is often critical. As I mentioned, the remote does not have an external antenna. My belief is that the receiver and its internal antenna were in the area of the driver’s door.
Walk around the car in ever-enlarging circles to see where great and awful responses are.
Also, local RF interference can cause a host of issues. Some spread-spectrum WiFi use close frequencies to car remotes. Try and remember the parking places where the remote worked well and where it was balky.
My favorite bookstore’s new anti-theft system makes the remote on my current daily driver only good to 6 feet from the car. At home, it’ll work at 20 feet and more.