You can't really go by the current prices because the Ryzen 5000 series are in such short supply and Intel's node issues won't be fixed until next year, so we have a situation which leads to prices being higher than they are.
With that being said, AMD performs better than Intel, so they're charging more.