Something to keep in mind is the tactic is very old. Baby boomers were telling their children of this tactic. It is likely that boomers learned of it through their parents.
Certainly it’s been near-universal with gas pricing for pretty much forever to tack on 99/100. Any station that didn’t do it would have most people punishing it in a price comparison. Of course, pricing like $0.99 is extremely common more generally.