Right, because everybody has perfect memory of everything they've heard in the past. No wait, it's actually quite the opposite. People have crappy memory, especially for things they're not already familiar with. Neither word has any meaning to an English speaker, but they sounds very similar. I can easily imagine how someone might get confused.
If someone else launched a company "Fogdeam", which sold similar software to yours, surely you'd go after them.
I don't know for sure that we would. But I'd argue that, being a longer word, you get more confusion with the one character change, since any one character changes a smaller percentage of the overall word.
The position of the character definitely matters to. For example, in your "fogdeam" case, I'd say it's iffy. But if somebody launched Dogbeam, I doubt the thought of going after them would even enter my mind. This is all, of course, assuming that they didn't also use a similar logo and similar messaging, etc.
Maybe the "Moz" / "Doz" one is a little bit more of a grey area than I see it, I don't know... I'm biased towards a certain mindset here.
Only in that they both end with "oz" and sound nothing alike, don't share any common meaning, and have no other obvious connection. Personally, I don't see how anybody could ever confuse those two words.
Don't forget, trademark law is such that you have to protect your trademark or you lose it. If there's any risk at all of infringement, you have to go after it.
"any" risk? OK, great, there is a slight, however improbable, risk that somebody could confuse "Fogbeam" and "Moz". After all, we both do something related to computers and both words do contain an "o". So maybe Moz should attack us next?