Could it be be you're 10lbs heavier?
Weight would become a greater factor in longer distances. Might even be helpful in the shorter ones.
A somewhat more accurate comparison here would be to look at durations, not distances.
example:
2' for 800m in your 20's to 2' for 700m in your 40's
The guy who runs 700m in 2' flat might make 2:18 for 800m.
So 12.5% less distance by duration but a 15% slower time for the same distance. Now on the speed side, the drop off w/ extra distance isn't nearly as notable (100/200m), so these times might look a bit better than they actually are.
But getting back to the point here about speed and stamina.
It is good to look at things this way, but truth is the two are linked, more or less depending on the specific event. Part of the reason you have "stamina" is you have speed and part of the reason you have "speed" is that you have stamina. Nobody maintains a pace they can't hit, no matter how much they've trained.
Stamina itself includes multiple aspects. Heat build up for example is greater in heavier runners, and heat build up slows you down. You can also impact endurance performance by changing the brain chemistry. Some mild insulin resistance in your 40's might make it tougher to get fuel into your muscles during exercise. So stamina really isn't just about cardiovascular factors at all. Multiple systems are involved.
My guess is also that racing flats or spikes in the longer races are not helping you nearly as much now as when you were younger. For a heavier or slower runner, racing flats or spikes might even slow you down.