I’d copied and pasted these chords : so they end up with repeated unnecessary accidentals. What’s the easiest of displaying only the accidentals required by musical grammar?
Do those two staves belong to the same grand staff instrument? If so, then the repeated Eb and E natural are the Dorico defaults for simultaneous pitches with different accidentals. I don’t believe there’s a notation option that can change this.
I simply didn’t realise that the accidentals appear because of the E natural/ E flat clash. Indeed, spelling e flat as d#, as suggested, is much better.