The AI in Civ 6 is kind of a mess, I have civs on the other side of the globe I've never interacted with more than a scout passing by once dozens of turns before just declare war on me. Then nothing happened for 3 dozen turns because they couldn't reach me and they sued for peace. That happened multiple times.