That’s bizarre that you would get the same odd result from such different exporting options.
What happens if you use... File > Export > Export As
When Photoshop (or any Adobe program) starts acting “weird”, a reset of the Preferences will often solve it. Open up the Preferences (now listed as Settings) and from the General section click on "Reset Preferences On Quit"
... View more