No additional info
That is Haworthia, and on a plant that young a flower spike can indicate stress. They prefer slightly more water than Aloes will, and will enjoy full sun. I see signs that it may not receive as much light as it prefers. This will not kill the plant, but it will stress it out, producing what you see now.
I would cut it off to reduce stress to the plant. Repot into a slightly larger container with cactus soil and keep it slightly moist but not wet. It will tolerate dry periods, but prefers moisture.
My Haworthia plant has produced a very long stem from the middle of the plant. This branched out into 4 other stems with very minute blooms. They really didn’t open. So should I cut this off or no? Hopefully you get my photo.
If you want to look at the bloom for awhile before pruning it, then that is about all you will get from it! That is pretty much what it does.
When you are ready, then prune it off! It won't hurt it, at all.
https://www.gardeningknowhow.com/ornamental/cacti-succulents/haworthia-cacti-succulents