Upvote:2
It might have been your previous refusal, your current situation, or most likely a combination of both. And possibly your source of funds.
It probably was a good idea to tell the truth. In a few years, when you have a steady job, you might make a new application for a Schengen visa. If the Schengen officials had decided that you lied now, they wouldn't believe you in the future when your circumstances look much better.