The gender of objects in French changes based on the word you chose to describe it.
A car is male, an automobile is female.
A fork is female, but a utensil is male.
For boats, I can't actually think of any word we use for them that makes them female:
Vessel (vaisseau) is male,
Boat (bateau) is...