Why is high carbon steel hard but brittle?

the carbon content determines the hardness of steel. higher the carbon, stronger and brittle will be the steel.