>>13351802Japanese basically has multiple synonyms for “I” which supposedly reflect status differences, gender, age among other things but the rules aren't absolute.
“boku” was traditionally used only by young boys but more and more girls are starting to use it and it's especially common in fiction and part of their character design basically.
In fiction, characters basically tend to have a fixed way to say “I” in Japanese which is sort of like Donald Duck wearing the same clothes every day. In reality, Japanese people will often switch inside of the same sentence between multiple, and certainly in different formal situations.