Thanks for the info links!
Reading “[flatpak] does not allow Chromium, Chrome, or Firefox to properly sandbox websites. As a result, Flatpak versions of these browsers disable the sandbox feature” in the threads below, then trying --no-sandbox
as a launch parameter and seeing that made the program work.