It is possible to softlock the game during this fight by mashing B while being ejected from Gekko's bubble after being caught in it. Do not do this.
Once the fight begins, roll up-left and wait for Gekko to pick up its blob. Once it does, get to it and jumpslash it.
For phase 2, shoot Gekko on the ceiling with an ice arrow. Stand centered underneath it, then quickspin or charged spin when it falls to finish the fight.