Friends can grow apart because of several reasons. Here are some of the reasons:
-one friend did something to make the other friend mad at them
-one friend moves away to a very far place from the friend and they are not able to talk to each other anymore
-they do not want to be friends anymore
-one friend grows closer to someone else than they are with the second friend
Hope this helps! :)