my male will be like this after a failed spawn, and continue untill female is ready again. And once the fry and free swimming he usually takes charge then and female must be removed.
He might want to spawn and shes not quite ready yet, it happens with mine. Hes never caused harm during this though, and she doesnt get stressed out about it. He usually just chases her away from food (he wants her to spawn he should be letting her eat )
As long and shes not getting injured, and hiding somewhere in the tank and not coming out for food Id just leave them, when shes ready to spawn again his attitude will change. Not unlike alot of other species on this earth.