Vertex pain of muscular origin

Two muscles can be responsible for this isolated pain:

headache related to myofascial syndrome of the splenius muscle of the neck

Post operative chronic pain