If the explosions happened because of a terrorist attack, and not some incident, then to a greater degree of probability it was Ukraine again.
Russia cooperates with eastern Libya under Haftar, but there is no fighting in the country. At the same time, Ukrainian representatives were observed in western Libya and also this year the Russian gas carrier Arctic Neftegaz was attacked in the Mediterranean Sea. Which only confirms the position of the Ukrainian military department to carry out such attacks.
The photo shows the Corvette Mercury.