Who allows that?
Amazon explicitly https://sellercentral.amazon.com/help/hub/reference/external... says it's against their policies and that they can penalize you for it.
They'll even enforce rules on your off-Amazon sales. https://www.theguardian.com/us-news/ng-interactive/2026/jul/...
There are consumer protection laws for this kind of stuff (usually some requirement of a product having to be at the "original" price for some length of time or some sales volume[1]), but retailers typically time their price changes and discounts to work around this requirement for peak sales periods like Christmas. If you catch Amazon actually immediately marking stuff up and down to create a fake discount you can probably complain to your attorney general.
[1] https://competition-bureau.canada.ca/en/deceptive-marketing-...