It’s a dual-clutch transmission, which raises the question of a problem with the transmission or the electronics that control it. Have a dealer or an automatic transmission mechanic assess it for you.