Question: why are some gyms taller in pokemon go?
Answer: Gyms frequently switch between being tall and being small due to the pokémon inside losing motivation, being defeated away, being fed or being added. Sometimes even, a gym is small although it should be tall and after touching and exiting the size changes. (And obviously tall gyms look cooler on the map.)