It is not new information that most anime are adaptations of other media. The source material is usually a manga series, though there are also a good number of anime series that have been derived from light novels, manhwa, and even games. Given that these works are adaptations, certain changes may be necessary.
Source:https://www.cbr.com/accurate-anime-adaptations/