In the third picture, Jack's mother is angry on Jack because he sold the cow for 5 beans instead of 5 gold coins, at the very least, so she throws the beans out the window.(Little did she know about the magic beans that would grow into a giant beanstalk the next day.)
In the fourth picture, Jack saw a huge beanstalk, right inside the backyard, so, because of curiosity, he climbed, and he climbed and climbed, until he was above the clods, where the beanstalk ended.