Originally Posted by
mustang7757 If you open a picture in gallery then 3 dots at the bottom >choose details>can choose the + for location , and also location toggle on in your pull down notification panel and does the gallery have permission for location to see that long press gallery >tap info>permission and see if location on ?

Thanks Mustang. I figured out the culprit. Camera was set to take pictures in HEIF format. I disabled that and can see the option to remove location when sharing.
To answer your question, the HEIF images also had location information associated with them so not sure why the option to remove location when sharing was not available.