A carrier battle group can easily be seen and tracked by commercial satellite constellations.
At minimum they travel with 6 or 7 ships and leave a wake a mile long and they only go tens of miles an hour, it isnt a speed boat.
Here is an Indian carrier (formerly Russian) on google maps and the US ones are large https://www.google.com/maps/place/14%C2%B044'30.3%22N+74%C2%...
I think people forget how many satellites are pointed at all parts of the planet. They are used for crop reporting and weather and all sorts of shit. It isnt the 1960s where only the super powers have them and they drop rolls of film.
Satellites aren't pointed at "all parts of the planet". They're generally taking regular photos of known locations, when the right type of satellite passes over. That's where you get lucky shots like the one you noticed. Then that satellite has to orbit, and there isn't another one nearby just ready to take another photo. Then the carrier changes direction...