Question: what is the function of the muscles that make hair stand up?
Answer: Erector Pili and Body Hair: Goose bumps aren't just to alert you of cold. And in many creatures, fear and confrontation cause muscle fibers called erector pili to activate, forcing hairs to stand up and make the animal appear larger and more threatening.