Range decrease?? I don't know how to word it

My modem is a bit far from my bedroom, but now I've noticed my wifi doesn't work in my room. But if I move to another room or closer to the modem it works, any ideas to the cause of this? I know I don't sound professional I'm just a teenager.