I can not figure out why this happens. I tried to play around with all the permissions, reset printer settings on Firefox, created new profiles, all had the same problem. But when I used those same profiles on the apt installation it printed just fine. Is there some weird Flatpak sandboxing happening because I can print fine from the Ungoogled Chromium Flatpak but not Firefox Flatpak.
I will try that once I am back home