These giants are banning cryptos due to widespread scams and forgeries. These would certainly harm their business reputation as well as the populace. Banning cryptocurrency ads is just a mere effort to protect people from fraudulent token sales, ICOs, ponzi schemes and all sorts of manipulated and devious ways to reap the population of their hard earned cash. They just don't want to be a part of it.
Partially it's for that, but I think its because government regulations, if they promote scams and ponzi schemes they will be responsible for that. As I see they ban didn't pass well, many people still advertise crypto on this two social networks.
I believe they will not be able to ban crypto advertising entirely. They are shutting down crypto accounts, but 3 new appears instantly, this crypto fever can't be stopped. We will see what will happen on the future and how will they deal with this problem, the thing is they need to work under the laws of the country where they are registered, their decisions will depends mostly from that.