well yes, it's widely estimated that alexander lost 1/4th of his soldiers at the crossing of gedrosia alone
historians have been nitpicking over this move for centuries because it doesn't make any sense militarily, even if he was defeated then he could just go back the way he came since the sogdians were his greatest ally at this point
if alexander lost then there wouldn't be a need to marry or give elephants because they wouldn't be there anyway, unless the diadochi somehow defeated the indians later (which is doubtfull)
It's possible that the route Alexander had used to move into India was devastated enough that he didn't believe it could provide sufficient food/fodder for his whole army (some of the veterans were discharged at this time and went that way, along with some cavalry). Whereas with a fleet following the coast loaded with supplies obtained further down the Indus then it should have been possible to feed his men/animals that way. Then the monsoon kept the fleet in harbour, which is not something any of the Macedonians would have know existed.