Modification and distribution of modified copyrighted content, if not permitted, can be a copyright violation
Generally you are not distributing any content from the game. Most mods to games are using API calls to a mod loader to change the game for the user on runtime. These distributed mods generally have no copyright content in them.