Why can't certain food be eaten by Muslims?

Muslims can not eat pork. Otherwise meat must be slaughtered by cutting the throat and draining the blood. The religious customs were also safe practices in days with no refrigeration. These things were said in the Quran.