Positioning of traditional speakers (in a stereo audio system) has always been critical in getting the best sound, usually for the desired "sitting" location, elsewhere in the room it's down to luck.
Moving the speaker away from a back wall tends to lessen bass and keeping them away from corners is also desirable, if they have to be placed near a corner don't make the dimensions equal, in other words make the back distance different to the side with respect to the wall.
Furnishings also play a big part, hard solid floors (wood or stone), lack of carpets or drapes and large sections of glass (patio doors) all add to reflect (enhance) the highs, that's why the common cure for a "bright" system has often been the purchase of a few heavy, thick carpets placed strategically on the floor between listener and speaker. The hanging of drapes behind the speakers and/or the listener also helps by limiting reflections, but this can often effect both ends of the spectrum and therefore a little trial and error is needed to obtain the desired outcome.
In a system that measures and adjusts for it's surroundings as per typical audio visual multi speaker setups, this should all be taken care of (or so I assume never having owned one, always kept to the tradition two speaker ones), and I thought the HomePod would be similar, but from what is being reported with respect to it's varied sound quality it may be having trouble in fully accomplishing that aspect.
I've read that near by small objects can unduly influence it's "setup", so a table clock on the same surface a few feet away for example could be perceived as a "wall", also because the bass speaker fires upward anything above the HomePod ie. a shelf, might also cause an issue, the general conclusion is if the sound initially isn't to your liking experiment a little with placement (and with objects around it) to see if it can be improved. I'm guessing, but the problem might just be down to it's size, being so small, "any" other object might play a big part in how it sees the world and therefore moving them around could have a bigger impact in altering the sound than we might think.