Robert A. Heinlein said this quote

Women and cats do what they do, there is nothing a man can do about it