They are calling it an illegal campaign contribution because he used his personal funds.
Had he used campaign funds, it would have been illegal.