Old engine stops being produced when new vehicle is made

I made a highly profitable delivery vehicle but it suddenly stopped making money when I released a light sports car which runs on a modified version of its engine. I think the engine stopped being produced despite having a factory dedicated solely to the delivery vehicle’s variant of the engine. I can’t even look at my engine factories or modify them in anyway to see.