Answer:
The difference of the amounts of water left in each bottle is 1/21 of the bottle.
Explanation:
Your friend drinks 2/3 of the bottle, which is a bottle divide in 3 parts and remove o take 2 parts, only rest 1 parts of the 3, that is the same to say tata remain 1/3 of the bottle of water. That also can be proved with the following calculation:

Your friend drinks 5/7 of the bottle, which is a bottle divide in 7 parts and remove o take 5 parts, only rest 2 parts of the 7, that is the same to say tata remain 2/7 of the bottle of water. That also can be proved with the following calculation:

Finally we have to find the difference between the two remains of the bottle, that can be made by a simple subtraction:

Then, the difference of the amounts of water left in each bottle is 1/21 of the bottle.