UFO is recorded leaving the sea in California by surveillance camera

A surveillance camera installed on the beach in Encinitas, California, United States, recorded a mysterious object moving at high speed, apparently coming out of the depths of the water.
The footage shows an object that looks like a bright spot suddenly appearing near the shore and in a straight line, incredibly fast for a boat or other vessel, it moves towards the horizon. However, a more accurate observation seems to show that the alleged UFO would be coming out of the water towards the top.
At some point, the dot goes out, but then it glows again and becomes even brighter than at the beginning. Then it disappears completely. The footage also shows mind-boggling white flashes in the same area where the glowing UFO was spotted. What it is, it is not clear. And these are not all the mysteries associated with this video.
According to the author who posted it on the internet, the next day this webcam was turned off, and the original recording from the previous day, which caught a mysterious object, was completely removed from the archives. The beautiful bluish glow in the waves is plankton bioluminescence, not associated with the mystery object. This is a fairly common occurrence in the area.
According to many enthusiasts, if this object isn’t an alien underwater probe, it could probably be some kind of secret military drone. Although the reason for being in such an open public place with webcams is an interesting question.