It's possible there was some dirt or corrosion at the contact points of the relay and the wiring, and swapping relays agitated it off. If things stay working, I guess that would be a valid explanation.
You can try to loosen and retighten ground screws:
