Answer:
He does it because he had an emotional out burst and wanted to prove his love for Ophelia. He wanted to show his grief