People can have psychotic "episodes" without being psychotic all the time.
Agreed. But it would indeed be strange if he prescribed anti-psychotics when he thought she wasn't psychotic, or based only on the husband's say-so and not his own observations.
And if she was, at least sometimes, it certainly would be reasonable that she was when she murdered her children. There seem to have been none of the usual motivations.