We have the following:
The first thing is to calculate the volume of the cone

where r is the radius and h is the height
the radius is half the diameter, like this

The radius is 5 cm.
Now, for the height, we calculate it by means of the Pythagorean theorem that says the following
![\begin{gathered} c^2=a^2+b^2 \\ c=13 \\ a=5 \\ b=h \\ \text{replacing:} \\ 13^2=5^2+h^2 \\ h^2=13^2-5^2 \\ h=\sqrt[]{169-25} \\ h=\sqrt[]{144}=12 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/fvvoshergdee7cpo94uttmmvbyx7xw341i.png)
The height is 12 cm
The volume is:

The water bottle has a total of 500 cubic centimeters, while the cone is 314 cubic centimeters, therefore it cannot pour out all the water and it would overflow