She only placed 4th because of a large step on the dismount, (although she was the leading gymnast in qualifying for the final).
She finished fourth due to a significant error on the dismount (although she was the top gymnast in qualifying for the final).