A large flock of pelicans resting near Route 143 captivated passersby, prompting many to stop and watch.