What was the main cause of death of slave ships in the 1700s?

Multiple things: abuse by the slavers , poor hygiƫne also if slaves came on board sick or got sick on the way they didn't get any food because it would be a waste so they threw them overboard or often rival african tribes could be put together and they would kill each other.