The two countries have been increasing defense and security cooperation as China has become more assertive in the region.