To understand this, you need to take a course on "historical methodology." :D You can also search for "applied historical disciplines" and read about it; it will become clearer how history reveals the relationships between states.
In any case, it is impossible to explain the tools used by historical science in a single forum post.