OP,
stop now.
after re-setting the nuts leave the bath legs alone.
or you could end up with a bath full of water gushing out of a disconnected waste, and leaking hot and cold supplies spraying everywhere.
and tiles popping off the wall.
you dont know how the bath is fixed to the wall - as above, any bath brackets are typically fixed behind the bottom course of tile, forcing the brackets up could pop the tile.
baths rims are often siliconed to supporting rails.
you dont show how the trap and supplies have been plumbed in.
as above, foam could stain the bath finish
and force the tub away from the wall,
and pop even more tiles.
in the plumbing trade, baths are said to be "set" - which means fixed in position. you cant go just willy-nilly raising them or you will end up cracking fitting joints and causing leaks or floods.
your bath/tile shows an even gap so the bath has likely been like that since day one - clean and dry the gap and blast it with silicone .
the whole installation looks amateurish and due for re-newal so live with the silicone seal.