According to how the narrative is made, specifically how he tells us what he's done and his situation, it can be intuited that he was struggling in that time and needed to eat, so he had to steal some food but he was planning to return it as soon as possible.
The answer is C, I believe. Hope this helps!