Why did Frieza need the second transformation?
Because Piccolo's power level was higher than his, as stated in the Dragon Ball Wikia -


  Thanks to his fusion with Nail, his power is slightly higher than that
  of Frieza's.Through much of the battle, Piccolo has the upper hand, but Frieza transforms again into his third stage, earning yet another power increase.