At least according to several studies. It's not because players play better at home, or try harder or have more confidence etc. because of the crowd. It's not because the visiting team is tired from traveling. These are largely most of us believe.
The real reason? It's because the officials are more biased toward the home team.
This article summarizes what many people believe to be the seminal work on home field advantage: