but why was the picture taken of black hole have accretion disk yellow?

They used a greyscale -> colour mapping, it wasn't really red/yellow. It was just for vibes. Its one of my minor pet peeves about the EHT visualisations, but given that its visualisations for effect its relatively fine. I'd have preferred blue given that its such a common misconception, but if you're a paper author trying to get your work publicly recognised then rule of cool is a good enough excuse