I recently had an issue where flatpak was unable to successfully check for updates, leaving the GNOME Software app hanging.
The best way to fix this issue, from my experience, is to completely remove flatpak:
sudo apt remove --purge flatpak
Then reinstall it:
sudo apt install flatpak
You may need to reboot for the GNOME Software app to function properly again.