Write dialogue that changes something
Dialogue in a story doesn't need to repeat information readers already know. It can reveal conflicting goals, change a relationship, or show what a character is avoiding. Before you write, decide what each person wants to achieve in the conversation. One might be asking for an explanation, while the other wants to buy time. Their words, pauses, and evasive answers then give the scene momentum.
Write a short conversation without explanatory sentences. Then add just two or three actions: glancing at a clock, setting down a cup, or closing a door. If the dialogue sounds too formal, read it aloud and shorten phrases people probably wouldn't use in that situation. Everyone has their own rhythm of speech; you don't have to write every line exactly as people talk in real life.
When editing, remove greetings and repetitions that don't change anything, unless you need them to show character. Consider whether both people have room to speak, or whether one is just waiting to deliver a monologue. In a real conversation, though, writing isn't a substitute for listening: if you want to understand someone, ask an open question and check what they mean.
Use dialogue tags mainly when it's not clear who is speaking without them. Dialogue can include a pause or an unfinished sentence if it suits the character and situation.
Silence can also be a meaningful response if readers understand why it happens.