You have a second keyboard layout configured and you occasionally trip over the keybinding to switch layouts. Go to the keyboard or international control panel and remove the extra layout.