From kidshealth.com :
The two main types of birthmarks are differentiated by their causes. Vascular (blood vessel) birthmarks happen when blood vessels don't form correctly — either there are too many of them or they're wider than usual. Pigmented birthmarks are caused by an overgrowth of the cells that create pigment in skin.