I find game music composing to be a very interesting and rewarding job. It requires a designer's eye to tailor the sound and music to match: the theme of the game, the art style, the artistic core, and even the interaction design.
Just like actors going into a movie, we need to understand the backstory, the meaning of the character design, and read all the possible design documents. Sometimes it's just a few details, but they can change the direction of the music design entirely.
If we don't notice it, the game developers will often notice it later and say "something doesn't sound right", and then we need to change the music at a later stage.
In order to get the right inspiration, as music creators, we also need to integrate our own consciousness into the game, imagine the game scenario, and experience those emotions as an audience or game player.
Musical expression is one aspect, a deep understanding of the game is the most important starting point for creating game music.
This truth is also very common in other fields, where the pre-project analysis and generalization takes more time and effort to do than the actual implementation of ideas.