It is actually the nest of a plainfin midshipman, Porichthys notatus. They normally live suspended in deeper water but the males move onshore in early summer to stake out breeding territories. The females come in a bit later, attracted by the humming calls of the males. The eggs are laid on the underside of a rock, typically. The males guard the eggs and fry until they are ready to leave the nest.