MLS of Ofelia entering the phallic fig tree pans to her green dress (meticulously chosen by costume designer Lala Huete to tie her into nature) slowly peeling off the branch, symbolic of her rebellion.
Her removal of the dress separates her identity from the 'Alice' mould she was forged into by the adult world, she is an Alice that doesn't follow rules, doesn't conform, and disobeys.