They… will not say that, because they get a large fine if you report them. Every store I've been too has been deeply apologetic when this has happened (a small handful of times in my entire life).
Outside of a few states and a few product types (baby formula), they won't be fined. But yes, customer service usually swaps it out.
In a lot of the US it is entirely legal to sell expired food. Near me there are grocery stores that specialize in “close to expiration” food, for a discount.