Sometimes spelling reform works in reverse, making spelling less phonetic. The words doubt and debt were borrowed from French as douse and det (or dette), but a new awareness of their Latin origins led scholars to insert a b in each to reflect their etymologies.

Look up both words in your dictionary.

What is the proper Latin root of doubt?

douten
douter
dubitare