That is a good question, why Alaska is more conservative than average. There are only about 740,000 people there, spread out over an area 3 times the size of Spain. Fishing is big; so are oil and mining, as well as tourism. Probably "rugged individualism" is a factor as it is in many of the conservative states. Picture Clint Eastwood and similar gun slingers in movies.
I live in a "flyover" state. It means a state that elites on the east and west coast aren't interested in, so they fly over rather than it being a destination. Actually, most of the middle of the country is flyover territory, with the exception of Chicago and Texas.
The distribution of liberals and conservatives in the American population is a murky issue. Take the southeastern United States. As a group, they tend to be quite conservative. They tend to be in favor of limiting government and government spending. However, these same states receive and benefit from more federal spending than most liberal Staes, which tend to receive less federal spending.
This fetish about limiting government is long-standing, going back to pre-civil war times, when plantation owners didn't want their own states to have too much power, never mind the federal government.
Protestant religion has fueled both liberals and conservatives. It depends on the brand of protestant. The Puritans who established themselves in New England in the 17th century believed that the state (government) could be used as a vehicle to perfect society. This became an article of faith among yankees -- aka, New Englanders. As the population of the US grew, and people moved westward, the yankees mostly settled new states in the north and midwest -- Minnesota, Iowa, Wisconsin, Michigan, Illinois, Ohio, etc. They held onto their belief in the utility of an active government -- a hallmark of liberal politics. Hence, the states of the North, New England, and Midwest are generally liberal and end up on the high end of social indexes--health, education, infrastructure, welfare programs, and so on.
The South was established by a different brand of Englishman than the North was. Their brand of religion was more likely to be evangelical or Anglican-establishment oriented, and activism by the government tended to be viewed as unhealthy and interfering. The South (running from the SE coast to west of Texas) has thus had hostility toward the Federal government and has maintained low taxation and weak state governments. As a result, they have tended to end up on the low end of social indexes--health, education, infrastructure, welfare programs, and so on.
Farmers tend to be conservatives in liberal states, which is ironic since farmers are usually the beneficiaries of government farm subsidy programs. A liberal state like Minnesota can have consistently conservative congressional districts, like the SE Minnesota district I grew up in.
Swimming pools of ink have been expended trying to explain how this all works on the individual/city/county/state/national level. If it seems confusing, welcome to the club.