I've only seen bits and pieces of One Piece, but I know that Devil Fruit users (people who have eaten a Devil Fruit) can't swim. I never understood why, though. How does this work? It doesn't seem to give arm or leg disabilities, so what would keep them from being able to swim?
It is said that the Devil Fruits are the fruits of Sea Devil, so even if most of them provide a great power, they're cursed. Quoting One Piece's wiki:
The sea rejects the new Devil Fruit user and they become helpless while submerged in water
Also, Oda said in SBS that Devil Fruit users are vulnerable to all types of water, not just salt/sea water. Basically any type of "standing" water (ocean, lakes, rivers, etc) will affect them, while "moving" water (rain, waves, etc) won't.
Overall, I'm not saying the problem is the sea or something inside the users, what I'm saying is that it's both. And as to why users are affected by Seastone/Sea-Prism Stone/Kairoseki, as stated by Smoker:
It gives off a wavelength that is the same as the sea itself
Basically it's a mini solid piece of the sea so that's why Devil Fruit users are affected by that as well...
To add up to the other answer:
"A person who has devil fruit power, experiences lack of energy when gets into water!" With that means, the user lacks minimum energy to show body movements, otherwise could swim! The person due to no body movements starts synching down..
It's also evident that, person doesn't lose the power immediately but constantly.. The long he stays in water, more he'll become helpless..
Devil fruit side effects section in wiki base is worth reading:
In my ideas... I think that it's because the devil fruits are the body of the sea devil so if we ate one we can't swim because we have the power of the seas like we are stealing their powers so they will make us can't swim that's why people who ate a devil fruit can't swim same as kairoseki (sea stone) kairoseki is lik a sea ice but won't melt and that's why devil fruit user's can't swim!!!
Maybe its because the devil fruits have some sort of origin with the fishmen. I mean, come on. Fishmen are already ten times stronger than a normal human, so maybe someone in the past thought that such power would be too dangerous if it fell to the hands of fishmen. That's why those who eat it couldn't swim.
Maybe it started out as a feud in the past of the "ancient weapons"- the objects capable of destroying the world. Look at "Noah", the big ship at fishman island. Maybe it played a part in the devil fruits. Or maybe it's connected to the adam wood and eve tree something which franky stated.
This is just a guess though
My opinion is that because water as a weakness is commonly seen as a demon/devil weakness Hints the name devil fruit and that that the user's soul is the polar opposite of the sea which in turn would create a struggle between the 2 and water ultimately wins seeing as how devils fruits are rumored to be a part of the sea causing its wielder to constantly be drained of their power or in cases of sea stone causes their power to drain just enough so that they cant use their power. this is purely speculation but it is also a very likely theory all things considered