I accidentally swiped right on a tab and it closed. Users are bound to do accidental taps and swipes when using iPhones one-handed, especially the larger ones. Under settings > gestures, there could be an option to disable swiping to close tabs, and users can just press the X button to do so.