Many attack aircraft, even ones that look like fighters, are optimized to drop bombs, with very little ability to engage in aerial combat.