Flaps are retracted/extended according to airspeed. It doesn’t look like enough airspeed was attained to retract flaps from the takeoff setting, assuming they had been set correctly in the first place. If this was a no-flap takeoff procedure, the aircraft didn’t gain enough speed to sustain flight.