Wire gauge 10 AWG rated for ~30A, insufficient for 40A draw. Risk of wire overheating.
Undersized wire is a heater in series with your load — it drops voltage under load, and its insulation melts long before anything else fails.
Move to a thicker gauge with at least 40A of ampacity, or split the run into parallel conductors.
Size it in Wire Resistance →