It was racist and offensive because it takes the president of China and connects him to the stereotype of a cook in a Chinese restaurant.

It's just a clumsy attempt at a clever headline - a clumsy attempt at humor. But it's not funny.