The reason the book All Quiet On The Western Front consider an Anti- War novel.
Because the book depicts the grinding pointlessness, eventual futility of war. The characters are not heros, their deaths, are not heroic, and their lives warp if they survive