YOU SAID:
I just got in trouble because of a lunch box
INTO JAPANESE
お弁当のせいで困った
BACK INTO ENGLISH
I was in trouble because of my lunch
INTO JAPANESE
私は昼食のために困っていました
BACK INTO ENGLISH
I was in trouble for lunch
INTO JAPANESE
昼食に困っていました
BACK INTO ENGLISH
I was in trouble with lunch
INTO JAPANESE
私は昼食に困っていました
BACK INTO ENGLISH
I was in trouble with lunch
That didn't even make that much sense in English.