Hi –
Just to say, our trip to Hospital recently with an injured Hog resulted in him getting a full ‘health check’ which included faecal tests for ‘Lungworm’ – which apparently can cause similar coughs & will kill if left untreated..
I double checked with ours as he came ‘home’ coughing harshly before settling down – but he was given the all clear – seemingly, he was just clearing his throat! Dry environments can trigger them, too..
Reading up on it, if you have a nesting box or feed station with bedding, it’s recommended to change it fairly regularly as Hogs are fairly messy in their toilet habits..!
Good luck – if you’re able to get it to your local vet or wildlife centre, I understand the test is fairly quick & definitive..?