In the gala, it didn't count, and she slipped. Write it off as a bad practice, it happens to all.
I actually think the real issue is that she doesn't have the technique adjustments that she learned under her new coaches down a 100%. That is, she still has to follow a set of steps to get the jumps right, but once she stops focusing on these steps, the jumps come out wrong. Hopefully at some point, the technique she uses in competition will become second nature to her. (I am talking about the whole muscle memory thing.)