Why didn't the buddha know how to attain first jhana when he already attained dimension of neither perception nor non Perception from his previous teacher(rama)?

See this previous thread: Buddhas first jhana as a child - #7 by Gabriel_L