I can think of a few ways to do this in a privacy-preserving way. The traffic light doesn't need to know your location or who you are, just whether there is a car approaching. But yeah good chance whoever designed this didn't put that much thought into it.
I mean, if your concern is government, your already shit out of luck between your cellphone pinging cell towers, license plate readers, CCTV cameras, Ring cameras, Wi-Fi pinging, etc.
(I would agree that I wouldn't necessarily want fine-grained gps location data being sent to the lowest bidding for-profit traffic light monitoring company.)