Sharks are known to attack in shallow water along coastlines. Activity in the shallows and waste in the water may attract them, too. For example, piers are frequently attractive to sharks who snatch up bait dropped by fishing lines.