Even if there is a god, halal didn't come from it.
Halal is the safest way to prepare meat in the medieval desert. The law makers knew there was no point explaining this to dumb arabs, so just decided to write it into the religion, as "because god says so" would mean they'd be less likely to cut corners.