Weird pending transactions

Hi

I tried to transfer STX from gate.io to my wallet and the weirdest thing happened:
First the transaction passed and I saw the STX balance in my wallet and after that the balance disappeared and the transaction started again. Now it’s stuck on “Pending”.
What’s going on?