Jack had a small crush on Legoshi growing up. They were the only friend each of them had, so he felt a closeness to him. Once they entered high school, Jack realized that Legoshi had fallen in love, and started to support him, causing his feelings to fade away.
Credits to @pieceofgayshit