If it were me, I'd say the problem with the lights. Your Photochrome Stationary State (PSS) is low, causing multiple shade avoidence responses, and photo-morphology.
Low PSS, Shade Avoidence Responses include: stem elongation; reduced basil branching; increased petiole and leaf length, but...