Chances are that you’ve experienced this (probably quite a few times): You’re currently concentrating on what happens in the center of your screen, focusing your eyes on it, when suddenly something blinks, moves, appears or disappears in a corner or at an edge of the screen. Whether you would have known what it was without looking at it or not, your attention is immediately drawn to it. If this happens more than once, it becomes an annoying distraction which may be hard to ignore.
There is a simple reason for that: As you might remember from Biology class, there are two kinds photoreceptor cells in the human eye: Cones and rods. Cones are used for high-resolution color vision and are concentrated in the fovea centralis, which catches light from the object you’re focusing on. Rods, which are more common in the periphery of the retina (in fact they’re almost completely absent in the fovea centralis), are used for low-light vision and are especially good at detecting motion.This is useful to spot and quickly react to e.g. an attack coming from the side in the periphery of our field of vision.
Even though attacks are fortunately not that all that common for most of us nowadays, we are still biologically designed to focus our attention on anything that’s moving in the periphery. In the context of a computer screen, a sudden change of color or shape, something quickly appearing or disappearing can also be interpreted as movement. This is great if the movement signals something which actually deserves our immediate attention, but if it’s something that we don’t actually need to pay attention to at the moment but which grabs our attention anyway, it quickly becomes annoying. And if you finally manage to ignore the constant annoyance, you may miss if information which actually is important to you comes up in the periphery.
Accordingly, peripheral displays with moving information were found to decrease performance in information browsing  and text editing  tasks (though another study  did not find significant performance decrease in a browsing task).
So, bottom line / takeaway / tl;dr: If you need to grab your users’ attention, just animate/change something in the periphery and it’s pretty sure to work. But resist the urge to put something constantly moving like a scrolling ticker on the edge of the screen, it’s scientifically proven to distract users from their main task.