It's one of those "we'll say there's gender change but we'll never show it" type of things. The magical girl is meant to actually be a guy (you can see the use of オレ as a pronoun, for example). The initial encounter with the tentacle monster does something that makes her unable to switch back to her original form.