Ironic indeed. I can’t help but wonder if Google stores the geolocation data privately where only they can access it for their own data mining uses before removing it from the photos.
You can see the location on Photos website/app, it's not hidden from the user. You also still get it when you Takeout the photos. It's explicitly stripped when sent through the API, because said API is generally used by other websites for getting your photos, and it's not clear to the user they are actually leaking their location when uploading a Photo to "ShareYourRecipe.com".
I would start with the assumption that Google is collecting and storing every single possible data point about every single thing you share with them, including this. I have zero doubt that they store this info privately for their own use.