Neither of these sequences is the greatest example of their love towards one another. That scene would be the on foot chase after the failed bank robbery of Bodhi's crew is interrupted by Utah and his FBI partner played by Gary Busey. Utah has Bodhi dead to rights. He is pointing a gun dirctly at his face. Bigelow cuts back and forth between the two zooming in on their facial reactions and the gun. Will Johnny Utah murder his best friend? It's the most anguished moment of the movie, because he is torn between his job and someone he has grown to love. Bodhi is just as hurt. You can see it in his eyes. His best friend trapped by a duty to uphold a badge. It's not radical. But Utah does not kill his best friend. He lets him go, but he's hurt. He knows he'll be forced to make this same decision again later, because it's the nature of these things. They're cursed to fight each other, because of the lines they've drawn in life.
and he is faced with the same decision in the closing moments of the movie, but putting a bullet in his greatest friend's head isn't nearly as bad as sentencing a bird to a cage. Bodhi remarks back to Johnny "I can't live behind those walls man", and Johnny knows this. Earlier in the film Bodhi talks about wanting to ride the greatest wave that only comes around once every fifty years due to nature's cyclical habits, and they are both staring right at this opportunity. He has a moment to let his friend go and release him once more to the world, and because he loves him he does. Bodhi surfs into the void, being swallowed up by what he loves and dying as he lived. Johnny Utah tosses his badge into the ocean and says goodbye to his past life and his very best friend. The rain falls all around them. It's appropriate that it would rain at a funeral.