Faulty starter solenoid killing car?

I guess I should correct myself, it's the starter relay. The battery is brand new. I'll clean the connections and the grounds and see if it makes a difference. Not sure why reseating the yellow cable would fix everything though.