I think the law has adapted over the years. No e-commerce, then only if they did business in your state, certain states, now it may have finally evolved to all states.
Unless they updated it, the need to collect tax is determined by if the company has sold over $100k or over 200 separate transactions in the previous year or the current year.
You’ll find most big stores have passed that threshold and it’s possible smaller ones are just collecting tax because it’s easier than working through the rules.