When the pool was built they most likely used "thinset" to attach the tiles. That is what I use to reattach tiles when I have time for it to set. You can get an underwater adhesive from diy (Home Depot etc) that will set up even underwater. Use a sanded grout. allow to cure.