I think the easiest way is to take your girlfriend directly to the countryside or to some farmhouses to try growing food and how hard it is to sow seeds. Then we will educate him about how hard and difficult farming is, and let him know how precious the hard-earned food is.
I found that there are many short videos on the Internet nowadays, all of which are presented to everyone in a spoof way, such as the one mentioned by the subject of deliberately making dark dishes. This practice is actually very common on many small video websites on the Internet, and the purpose is to make everyone laugh. Although such videos have gained attention, they can easily have a negative impact on people, especially younger viewers.
So nowadays many people are actually a little resistant to the popular trend of pranks on the Internet. I believe that the girlfriend of the subject also started to follow the trend because she saw these prank videos and found them interesting. This is an incorrect approach, so I think your girlfriend's mind should be relatively simple. Then you have to let her do it in practice to make her truly realize that food is hard to come by.
In this case, whether you are intimidating the other party or forcing the other party not to do such things again, the effect is actually very weak. Only those who can truly put themselves in their shoes can appreciate that kind of meticulousness. Only then can we truly understand why people always praise food as a very precious thing, and I think this method was also used on the girlfriend of the subject. Don't talk too much nonsense, just let your girlfriend feel it.