Why spotlight passing is through meshes?

Wow, I will test again. Thanks for solution