They do. Everything pollutes the environment, including breathing. Do you think solar panels don't have toxic chemicals in them?
The sensible way to judge this relative, not absolute. The question you should be asking is not whether plastic bricks are bad, it's whether they're worse than whatever happens to the plastic waste in Kenya that isn't used to make bricks.
I'm not saying it's one or the other or anything. Actually I'm mainly pissed at Germany for closing dozens of nuclear power plants, going back to coal.
As another poster mentioned - in Kenya, waste plastic is commonly burned on the side of a road. Turning it into bricks is an improvement on this.
As a materials engineer, I'm sure she has the UV aspect worked out.
(although I'd certainly be glad to be wrong)