Funny, but afaik/iirc the spine things are more like fins, a bit too thin & they lack big anchoring points for giant muscles (where tendons and ligaments attach to bone). Also they are positioned in the middle of the back, not behind the neck (above the shoulders).
Perhaps they evolved for display, temperature management, or even for swimming maybe. Or a mixture of all.
Or they were just walking ad billboards.