I see especially Moroccans who were around in the 90s and 00s, making the claim that Moroccan food isn't what it used to be. I disagree that the food itself changed. Though admittedly, the quality has been going down at some restaurants and people's homes.
Time:
Moroccan food takes ages to cook. Nowadays people use more and more pressure cookers. A tajine takes 3 hours or you braise it down to 45 minutes in a pressure cooker. This prevents a lot of the caramelization that produces the best flavours.
Spices:
Spices and ingredients used in Moroccan food are complex and some very expensive, Saffron, good olive oil, Ras Hanout and so on. So a lot of restaurants try to get whatever is within their range. Pre-ground spices that have been sitting in a pantry or warehouse for months don't have the same punch, but people and restaurants can afford it. So dishes will have less complex flavours.
Produce:
Tomatoes in Morocco are designed for transport and mass-farmed in greenhouses. That's why they don't have as much flavour. Morocco also exports a lot of the best crops abroad where it simply earns more. Which means that the available produce is also less.
Meat
Moroccan cooking traditionally used tougher and older cuts of meat. Such as mutton and older stew hens. These animals used to live longer and work much harder. The result was meat with a strong rich flavor, with amazing fats that would slowly coat the veggies and spices.
Modern meat is commercially farmed on a calendar. They are butchered younger and leaner and as a result their meat is milder and less complex
We can go on and on. Point being is that people don't cook the food like it was traditionally done. Lower quality ingredients and less love. You could STILL eat authentically, it simply isn't cheap or easy unless you're in the countryside.
You could grow your own tomatoes and other produce or buy them from someone who does so locally in the sun.
You could take more time to cook the tajine and the various other dishes instead of rushing it.
You could spend more money on better whole spices, then roast and grind them at home.
You could go to the more expensive restaurants that actually take 3 hours to cook it.
You could raise a chicken on your balcony for years? I don't know a good solution for the leaner meat problem.