I don't see why it was necessary to say that the machine is "expensive" twice. There isn't another machine on EC2 that has these resources at a lower price, so in that sense it's the cheapest one of its class. The m6a class is 15% cheaper for the same memory and core count, but that instance family is slower.
> How is the other machine family slow when it has the same resources?
They aren't the same resources. Different families have different generation CPUs and/or CPUs from different manufacturers with different performance. Just because instances are available with common core count and memory size doesn't mean an instance with 5+ year old ARM CPUs is going to perform the same as one with new Intel CPUs.