Turns out, all this problem is caused by my ISP
I connected my computer to my phone’s mobile data and I was able to install the apps without any issue
For some reason they have the flathub repository blocked, so I just reported the problem, hopefully the will fix the problem soon.
What a relief!
Thank you all for helping me.