Your example focused on time and place because taxes are done at a transactional level between the person purchasing goods online and receiving those goods in physically.
Age gating is not the same thing, there is no transfer of goods. It's someone's arbitrary idea of what should and shouldn't be allowed on the internet. And it's pretty clear at this point that it's about control over information. Plenty of articles on the subject if you care to look.