A toaster blasts the outside of the bread with massive radiation, with thin wire element that goes from dead cold off to 100% instantly, so that the outside gets toasted before the inside gets dry.
Air fryer is way too slow and the moving air makes it even worse.
Larger toaster-oven air fryers are even worse. Way too slow to heat up and way too much of the wattage wasted radiating away in other directions being just 2 or 4 quarts tubes inches away from the bread, and with splatter shields covering them besides, instead of a veritable cage of thin wire filaments all around the bread and right next to it.
The AirFryer is essentially still an oven (at least mine is) with the heat coming predominantly from the top, leading to some form of "double baked" bread, which IMHO isn't the same as toasted (where the bread can be crisp on the outside but still soft in the middle)