Judaism, Christianity and Islam traditionally treat animals as though they are 'created for human consumption'.
Since long before any of those existed, food production was about 99% of the economy. There were 2 cultures, the growers and the pastoralists. For the pastoralists, the keeping and slaughtering and cooking and eating of animals was obviously a dominant preoccupation and of course they developed a self-serving point of view.
As it happens, it seems to have been a school of hereditary slaughtermen who evolved into the Jewish priesthood.
In other parts of the world, the religion of the growers became dominant. These things just happen. The winners aren't necessarily right.