Lots of stuff plays a part in your premium.
Distance from a fire hydrant, distance from nearest Fire station, construction method of home, materials used (like what kind of siding), source of heat, and potentially what kind of dog you have.
That is in addition to things like your credit score, history of claims, likelihood of a claim in your area from a storm, area mine history, flood plain vicinity, etc.
They more or less look at EVERYTHING and see what the likelihood of any claim would be along with the potential dollar amount of said claim.