The force of gravity is working downwards on the object .
The force of gravity acting downwards is the positive force as the value of acc. is (+10m/s^2) acting on the object having positive acceleration .
Therefore the force acting upwards have a negative acc. -10m/s^2 therefore having negative acc.