You're having a flower! Aloe do indeed flower. It depends on plant maturity, treatment, sunshine, etc.
It sounds like you're treating it well.
It's not an Aloe vera (barbadensis), it's some other species. I'm more of an aloe generalist, so I won't guess at the correct ID.