Then likely someone wasn't keeping watch and would not have been keeping an eye on AIS either.
The biggest issue with AIS is that not all small boats have active AIS (in fact few do....)