I had to read the adult version in college. The higher ups of Lilliput decided to kill Gulliver because he was eating too much of their food.
From their perspective, he’s a giant. I could think of twenty different ways he could be useful and earn his food. They’re not only heartless, they’re also stupid.