Does the AI game the system to make truces?

https://preview.redd.it/4go5viu5u0be1.png?width=861&format=png&auto=webp&s=4aa615159562d37e6951594cb671dce27a9fdd2a

I'm a subversive cult and was planning on building a branch office on their homeworld, and a month after first contact they guaranteed my independence and within another 10 days they revoked the guarantee, causing a 10 year truce.

I get the logic here, but it seems really gamey if the ai knows to do that.