Paxton was impeached for alleged misuse of public resources and other charges. This means he was formally charged with breaking the law while in office. The specific allegations included using his position for personal gain, which is illegal for public officials. The impeachment process is a serious matter and can result in the removal of an official from office.
Ken Paxton: An Exhilarating Expedition into the Life and Career of an Influential American Lawyer and Politician