どうともするとと
dō tomosuruto to

Adverb

The "-to" conditional form ("if/when…") of 動ともすると

1. If/when [something] moves; If/when [something] changes; If/when [something] acts

To Conditional