Could be, though neither of these explain quite why it is girls in particular who are attempting to identify out of their sex, in a much larger ratio than boys.
Perhaps one root cause is that girls are uncomfortably sexualised much more than boys (as in, the 'male gaze'), and some try to escape this by adopting a belief that they're not girls / young women.