How to explain this behavior?