Sharp asymptotics in a fractional Sturm-Liouville problem