One word: valves.
Trumpet, French horn, and tuba all use valves (piston or rotary) to redirect air through additional tubing, changing the instrument's effective length in discrete steps. The trombone uses a slide—a continuous, mechanical lengthening/shortening of the tubing itself.
Valve trombones exist—three valves, no slide. Used in opera bands, some jazz, and marching contexts where slide logistics are impractical. They're a distinct subset, not the norm.
The slide isn't a limitation—it's a different philosophy. Continuous vs. discrete. Vocal vs. keyed. Both work; they just shape music differently.