Mechanism of decoherence-free coupling between giant atoms