Reason why an inverter will drop the battery voltage from 24 to 10V after turned on and then immeadetly shut down?
Check the battery.  If it's a lead acid battery, then cells can suddenly fail, presenting a very high resistance.  With no load, it may appear normal, but adding any load on the battery will make the voltage drop instantly.