PREMED501,
Just think of it as a ball being thrown up into the air. Yes it took force to achieve the initial velocity, but that is irrelevent. The question only wants to know what happens to the acceleration once it has left the hand. Now if you think about the force acting on the ball, the only force is gravity.
Now apply that to the ramp. The ramp acts to alleviate the downward force of gravity acting on the object (vs. free falling). The sin of the angle determines what fraction of the force of gravity the block will be feeling. This is because, sin(0)=0 is a flat plane, so the force acting upon you is essentially 0 (there is still a gravitational force, but the normal force cancels it out). So sin(90) = 1 is a vertical plane, and it offers no resistance to the force of gravity.
No for friction. FRICTION ALWAYS ACTS AGAINST THE DIRECTION THE OBJECT IS MOVING. So what that means is while the block going up the incline (from that initial velocity from some force we don't care about), the force of friction is opposing that movement. So since gravity is pulling you down, and friction is pulling you down while you travel in the upwards manner, that means the net force pulling you down is
the force of gravity (mgsin(theta)) - force of friction (Fn = (-)mgsin(theta)).
Also, just because the magnitude is increasing, that doesn't mean the it is accelerating in a positive manner. The main question the question is asking is, if the two blocks are pushed up an incline which one will stop first? That is all the question cares about. So logically, which one stops first? The one with friction of course!