Trump negotiated the terms of the handover before Biden took office. It was just damage control from then on, with most of the troops already removed before day one of his term, his only option was to bring many back to secure that equipment, and the MAGA types would have blown an even larger gasket over that.
Blaming Trump for Biden giving the Taliban 80 billion dollars in military equipment is about what I expected.