This family was seeking asylum. Because Trump has ordered curtailing the # of asylum-seekers at lawful ports of entry (International Bridge in this case), some families who would otherwise seek legal entry into the United States, attempt to cross the border illegally, out of desperation.
After a long journey and stuck/vulnerable at the border, this father decided crossing a dangerous river was his best option.
An unnecessary tragedy.