as far as I could translate, she is technically Japanese, based on a Dōsojin, a Shinto deity. However, she was so long in that place (the pyramids) that she gets bored. She is so bored that she begins to fantasize about being a Sphinx, to pose riddles, to protect a secret. her job as Dōsojin is to block the way, however, she does not know why she is there since the ancient people of the pyramids did not tell her what to do, so she assumes that there is something in the pyramid that must not get out, and that no one must get in, even though no one assigned her to be guardian of the pyramid, she assumes that role de facto. it is possible that my translation is not perfect so take what I said with a grain of salt.