Sounds like the hog was just being opportunistic then – they are good at that! A very enterprising hog. Years ago we had some semi-outdoor cats which were fed outside the door and a hedgehog often used to turn up to eat any remains. Hopefully now you’re providing the hog with its own supply of food and water it will stay outside.
Love it that you’ve named the hog alreaady!