While "strait" has evolved to mean a narrow passage of water, its origins lie in the Old French word "estrait," which meant "narrow, tight, strict."
This connection to "strict" is evident in phrases like "straitlaced" (very strict) and "straitjacket" (a garment used to restrain).