It’s a show of power to their own population in China, a drill of invading Taiwan, and an opportunity to push the line a bit further every time they do this, until a Chinese soldier sets a foot on Taiwanese land. They don’t care how it looks internationally, as “how it looks” doesn’t have any real consequences or at least they are worth the benefits.