They only stop if someone pressed button, if there's someone on the stop or if they stop due to traffic lights. Press the button of you want to get out. Many people press the button because the tram only opens those doors which are close to the button which was pressed.