In a manner showing lack of attention or concentration; absent-mindedly or with a scattered mind.
From distract (Latin distrahere 'to pull apart') plus the adjective suffix -ed, then the adverb suffix -ly, tracing how a pulled-apart mind behaves.
When your brain is pulled in multiple directions at once, you don't just do things 'wrong'—you do them distractedly, a word that perfectly captures the fragmented quality of not being fully present.
Complete word intelligence in one call. Free tier — 50 lookups/day.