Hello,
I think what you have in mind might be when there is a double T.
For example, 'Little' (sounds a little like liddle), 'Battle', 'Cattle', 'Bottle', etc.
Another one that might confuse you is Italy- pronounced a little like I-Da-Ly. Not exactly sure why here ...
As for how you phrased your question, I would say
"When do 'T' sounds pronounced like 'D' in (speaking in) American accents?"
PS. this is my first answer on iTalki so forgive me if I'm not 100% correct.