That anti-corrosion stuff is to prevent corrosion. But it is a non-conductor.
It's sprayed on the terminals after they're connected, do none of it gets between the electrodes. That's why the truck starts right up.
If there's a red tint on whatever you connected the inverter cables to, it's that anti-corrosion stuff and it's causing a bad connection.
I'd try to scrape the red stuff off with a wire brush and try again.
Assuming there is anti-corrosion spray on it and that's the problem.