Liquids have a constant volume, but they do not have a constant shape. They assume the shape of a vessel they are in at the moment. It happens because molecules of liquids are still close enough to each other, the attracting forces still being very strong.
Generalic, Eni. "Liquid aggregate state." Croatian-English Chemistry Dictionary & Glossary. 29 June 2022. KTF-Split. 2 Apr. 2025. <https://glossary.periodni.com>.
Glossary
Periodic Table