The third segment titled “The Man in the Middle” of the 2008 thai horror anthology film “4bia” (also known as “Phobia” or “See prang”):
Detailed plot summary on Wikipedia here:
Quotes from the above Wikipedia page:
“Four rafting-lovers, Aey, Ter, Shin, and Phuak are rafting in a lonely jungle in Chiang Mai.”
“The next day, when they are swimming in the river, Aey drowns and cannot be located.”
“Shin then finds Aey’s body. Frightened, they go running in the woods but are shocked to find their own dead bodies. It is revealed that all of them had died when the raft crumpled over, but only Aey accepted his death, while the rest continued to ignore the fact that they had died.”
I am pretty sure that this is the movie you are looking for. If you agree, then please select my answer as Best Answer by clicking on the “Select” button.