I think it was trying to show Gabumon's loyalty to stick by Yamato's terrible decision making (though I'd argue a true friend wouldn't let someone burn bridges because of their own insecurity).
Characters act really dumb in those episodes. It ends with everyone separating like a bunch of idiots.
Truly masterful.
But it brought out Taichi's leadership.