The travelers crossed the river by boat.

Literal

Travelers [topic-は], river [object-を] boat [with-で] crossed.

川を渡る (to cross a river) uses を for the space traversed. 船で (by boat) uses で for the means of transport. を with movement verbs marks the path or space moved through, not a direct object.