“…disconnect for a roof top unit at least 3' away from a gas…” Blame it on “Regional Variations.” Then, ask for a citation.

…secure the j-box independently from the 2' pipe… That’s a good use for framing channel, with color-coordinated brackets and spring nuts. I’ll bet for a moment someone even toyed with the idea of putting splices in the floating box too. Article 370…–23(e).