What is the relation between the political and theological sides of each?

The Sunnis and the mainstream Shi’a have a major political difference and also have theological difference . What is the relation between the political and theological sides of each?