hostility n. ostilitate
E.g.: Hostility to immigration was a key driver of Britons' vote on June 23rd to leave the EU. (economist.com)