Rats do the same thing. Had one chew up a guy's wiring harness one cold rainy night when the rat wanted to find something warm. They also like to nest in that padding under the hood that keeps the noise level down.