All rodents have the urge to chew. Their teeth grow continuously, they need to gnaw to keep them from overgrowing. It's a really natural instinct for them. I've found what they chew is up to the individual. Two of my pigs have never ruined my house. The third completely destroyed every doorframe in the play space, as high as she could reach! She apparently thought they were delicious! LOL!
One of my pigs does try to pull up the carpet from time to time. Luckily it's a short pile carpet and she never makes much progress before giving up.