Raccoons often get onto the roof from nearby trees. They will then scratch and chew their way into the attic. They may find a small gap in a soffit or under an eave and chew and scratch at it until it is large enough for them to pass through and make their way into the attic.