Why does my A/C Compressor keep going bad?

In mid August, I changed the A/C compressor in my 2003 Honda Civic EX because it was making a horendous screeching noise every time I turned on the A/C and eventually, cold air stopped coming out. A couple of days ago, my car started making the same screeching noise when I turned on my A/C. Why does my A/C compressor keeping going bad? Is there a different part in my car the could be causing my compressor to fail?

Yes there's. When changing a compressor you also need to change the receiver drier, orifice tube… Flush the system.
put all new parts in add oil and vacuum system down then put in refrigerant.

Compressors come apart when they blow up and send debris throw-out the system. And if needs to be cleaned out before repair.

I made sure to do all of that but the compressor still went bad

I had the same problem with my AC compressor on my 1993 Chevy. MY problem was caused by buying CHEAP quality compressors. I purchased a new one from NAPA and it worked forever (until I sold the vehicle several years later).