Inability to cook isn’t just a young person thing, It’s much more of a poverty issue and IMO also a class/education in the home issue. If
My MIL 92 and even though she raised 4 children I wouldn’t say she could cook as we think of it nowadays. She was the youngest of 17 children raised in what we would now think of as poverty in rural Ireland. Food was cabbage, potatoes, carrots, onions, bread, porridge,milk, various sorts of pork (boiled bacon, rashers, ham, chops, sausages and black/white pudding) and the occasional chicken. That’s what she learned to cook as a child and that’s all she can cook now. Even when she moved to London where there was more choice she didn’t have the funds or confidence to start experimenting with food. When she did eventually have some money she seized on convenience foods as a boon and luxury, sliced white bread, fishfingers, shop cakes, beans and margarine that spread straight from the tub became her staple choices for feeding her young family.
She has never used her grill for anything other than toast because she learned to cook on a range where everything was fried and that is still her comfort zone. Eventually the blandness and limited choice almost became an eating disorder, a way to exercise control (IMO) and in the 40+ years I’ve known her she has resolutely resisted trying anything unfamiliar. She has never cooked or even eaten pasta or fish or cheese or lamb or curry etc etc. Anything unfamiliar is intimidating to her. When I once inadvertently grilled her chops, she nibbled a bite or two for manners and passed the rest to her son, my DH. Now when she comes over I’ll cook a roast so she can help herself to what feels safe for her. If I do a buffet or a barbecue it will always include ham sandwiches, crisps and some steamed potatoes alongside anything more interesting.
Despite being born and reared in cosmopolitan South London 2 out of her 4 middle aged children raised on that limited bland diet still eat that way as do two young adult GC. I think part of it is because the food they ate growing up was so monotonous that food is just a chore to them , not a pleasure.
Like anything else love of eating food and preparing it starts in early childhood. If there isn’t that sound start it can be hard (although not impossible) to develop this in later life.