Engines don't stall, planes do. Plane stalls are about aerodynamics, and nothing to do with the engine.
Current engine designs operate poorly at higher altitudes for a number of reasons: less air density meaning less oxygen to burn and less air to push against. Turbine engines can flame out, which maybe that's what you were referring: https://en.m.wikipedia.org/wiki/Flameout
Current engine designs operate poorly at higher altitudes for a number of reasons: less air density meaning less oxygen to burn and less air to push against. Turbine engines can flame out, which maybe that's what you were referring: https://en.m.wikipedia.org/wiki/Flameout