Why does Ophelia go mad in Hamlet?

Why does Ophelia go mad in Hamlet?