Think of it this way, if you computer is no using all of the RAM what is going to do, just sit there and go to waste. So to help utilise the computer and its resources to the best of its ability the computer uses all of your RAM, when something needs the RAM it is reallocated to the required process. When that RAM is no longer required it goes back into the service of the system.