I apologize for the confusion, but
her HP is green → red in order,
and when the green is depleted, the red cage begins to descend. (If you are familiar with the Kingdom Hearts series, this may be easier to imagine.)
Therefore, in order to defeat her, you need to hit her more.