The spelling with শ reflects the pronunciation of the English etymon, sugar (/ˈʃʊɡə(ɹ)/).
শুগার • (śugar)