Inductive effect comparison of benzylic and allyl group
Phenyl has a tendency to withdraw electrons.
see the link for the reasoning:
Inductive effect of phenyl ring
Also the allylic group would be donating via inductive effect, thus making the carboxylate ion unstable( after acid donates H+ ions)
But an sp2 carbon is more electronegative than an sp3 carbon, hence it will donate less.(more electronegative element tries to retain electrons)
So 1 has an electron withdrawing group,2 has an electron donating group which is not as good at donating as 3.This gives us the option  A



An important point to note here is that electron withdrawing groups increase H+ concentration. Think why? 



Edit: Now that the Question has been edited, an edit for the solution is required.   

Benzylic group has -I inductive effect as in the link. For the second compound in the question, with the allylic group, since less number of sp2 carbon are present(2 instead of 6). So we can infer that -I effect will be less. Infact it should show +I effect, especially since there is an sp2 Oxygen attached 2 carbons away, which will pull electrons as it is highly electronegative.