In 26 states, the governor and lieutenant governor are elected on the same ticket, ensuring that they come from the same political party. In the remaining 18 states, they are elected separately and, thus, may come from different parties.
Hope this helps!