A soccer ball that is filled with air can go flat when air particles in it take up less space. This can happen if you inflate the ball indoors but then play outside in cold weather.