Guitar and bass tab shifts its frets when you change key or add a capo.
Change the key (or set a capo) and any tab in the song moves with it — the fret numbers shift by the same amount as the chords, so a riff stays in tune with the song.
A fret is a semitone, so it's just adding to each number, but the columns stay lined up even when a single-digit fret becomes two digits.
A few musical details:
If a pasted tab block is too mangled to read, it's left exactly as-is rather than risk breaking it.