according to first aid, you develop IgG against heparin bound platelet factor 4. The complex of PF4, IgG, and heparin activates platelets which causes thrombosis and depletion of platelets (thrombocytopenia). I originally thought it was some sort of AI reaction against platelets but it's an activation and depletion instead. You can get around this with LMWH or fondaparinux which (I think, because they're smaller and don't have the binding site) don't bind PF4.