Imagine running a small business and somebody from Algeria wishes to purchase your software. Is the $5 you make worth having to file Algerian taxes?
I mention this, because this is something that happened with YouTube this month. Content creators have to give their tax info to YouTube because the US is now charging taxes from creators outside the US on money they made on US customers.
Edit: as was pointed out - there's a minimum $10 million threshold. That makes it far more reasonable.