The pine tree is in trouble- it kind of got lost all its CONES, got chopped down and turned into a big pine box.
to be in trouble. . . .not exactly. It doesn't mean 'punishment' like 'You're in trouble!' means in English. It's not like your teacher yelling at you. Often you'd use it like "Oh, shit!" If you're late and can't find your shoes, that's こまった. (past tense) If you're lost, that's こまった. If you forgot your password for ratemycheneyfanfiction.org, that's . . . actually you're better off, probably. (BOOBOO)
a hardship, big trouble. Not like "Oh, If I fail this test, I'm going to be in big trouble!" こんなん is more like an ongoing hardship, like your parents died when you were young and you had to put yourself through school while working 20 hours a week washing dishes. Also often used in this phrase: 困難の時代 (troubled times)