The US is a barrier to a number of key Chinese goals, like reunification with Taiwan. So of course most of what they do will take the US into consideration.