The complications come from trying to manage that risk - manufacturers who have better products or marketing can afford to pay for prime shelf space which also means it'll move faster.
Really the modern world allows many optimizations and creative contracts.
We're talking about retail vs Amazon, not retail vs Alibaba reseller #39146527.
No they don't. Standard terms are suppliers get paid 90 days after Walmart takes delivery of the product. You also pay rent from the time a pallet arrives until it is broken down for delivery to stores - so if you deliver too many snow shovels in the middle of summer you might end up owing them money.
There is a whole industry of "supplier financing" that helps smaller players with bridge loans until the product sells.
It's still not the same as signing up to creating your own store on Amazon though.
They may charge shelf space rent.