The colour of the bubbles is a brilliant marketing play. People put peer pressure [1] on each other to “upgrade” their bubbles from the ugly green to the cool blue by buying an iPhone.
[1] https://www.theverge.com/2019/5/15/18624681/apple-imessage-a...