The EPYC 7702 and 7662 look exactly the same on paper, albeit the difference in TDP.
Well, thats the ugly side of server CPUs.
Power consumption is a big issue due to cooling and power cost, so is rack space. And then, server board power circuitry and cooling isn't as beefy as high end desktop boards (not meant for overclocking).
So, you need to pay more for lower power versions.... Then also more for faster variants. I know that you can overclock/undervolt etc easily for desktop CPUs, but server ones are more stringent in stability.