Wire

My gut feeling is that this wire should be protected, correct? This is coming from an ac unit, the motor wires. This is a safety issue.

I would say correct looks like a handyman job that was not very handy.