Personally I only ask it if I'm already stopped and facing someone. At work, so many people are walking by me at a very fast pace and just quickly shoot this question at me. I answer, "Good, you?" and hear a "good" in the distance as they are already 10 feet away, and it's always felt super awkward.
Totally fine in the breakroom as we are in line to get coffee/water though.
But yeah, people probably just don't think about it much. I understand it's just a greeting to them.