This book is called "The Caterpillar and Food, Food," by Salamader and Captain Danger.
There was a moon and an egg. Then the sun came and popped the caterpillar out. He ated a leaf and some apples. strawberries. plum.
Then he ated foods that a boy wanted to eat.
Then, uh oh STOMACHACHE.
Then he ate a little leaf.
Then look, look! A beautiful butterfly!