I had picked a pair of arabic words. حيوية and حلاوة
The letters didn’t join the way they were supposed to in Indesign.
Google lead me to this and a bunch of other solutions but nothing seemed to work. That is until I restarted Indesign. The solution was changing the composer to “Adobe World-Ready Single-line Composer” and then closing and reopening InDesign.