It’s instinctive. When you’re monolingual it’s hard to pronounce things the way they’re supposed to and even then the primary language heavily affect the pronunciation and that’s why there’s accents. It’s so affecting that you can tell a french accent from a Russian one.