Look at the log P values. The log p value of molecule A is much higher than that of molecule B, meaning that it is far more lipophilic. Polar species are hydrophobic and have a hard time crossing the cell membrane to enter cells, therefore the higher the log P value, the higher it's cell penetrability will be. That's your first indication that molecule A might be a pro drug. And then as TeachChemistry has stated, esters are usually metabolised in cells to the active carboxylic acid form.