It looked like friendly behavior to me too. Pretty much like your photos, but small black snakes.I'm sure it was a "friendly" activity.
These are pics of rattlesnakes getting "friendly" in a drain culvert. I was camping out at Banks Lake, and the culvert was about 10 feet from my travel trailer.
View attachment 4152840View attachment 4152841View attachment 4152842View attachment 4152843View attachment 4152844