Hey can I ask how the trolls and kids were able to travel to each other's planets even before reaching god tier?

The gates above their planets lead to other planets.