They where big trading cities that many people wanted to control and because of it geographic location it was used as a cultural hearth
Religion can impact voting as if your beliefs do not go with a candidate your more likely to go for the other side. Religious beliefs can also push you to one side.
The Maine exploded, causing the United States to become involved in the Spanish American War. It was supposed to have a friendly mission, but resulted in a war.