They are not going into the window wells intentionally.
When a toad encounters a wall, it travels along the wall, until it falls into a window well. Once there, it is generally trapped until it dies.
The toads should be removed. A better solution would be to install window well covers, so they cannot fall in them in the first place.