There are codecs which make Bluetooth audio suck less, but they are a fragmented mess. The two really popular ones are AAC and AptX. iPhones support only AAC while Android phones might either not support either or support only AptX. Sony has its own proprietary codec LDAC which only works with their headphones. To make matters worse, not all headphones support both AptX and AAC.