It's to present another side of an argument - playing devil's advocate doesn't necessarily mean you agree with that point of view, but are presenting it to balance a debate.
Because often people suddenly agree with the advocate opinion - I suspect some people are afraid to disagree when the vast majority agree but once someone presents their point of view they start up.