You can form friendships with certain townspeople by interacting with them.
Each time you interact, the Friendship gauge will rise. Once it gets high enough, you'll receive a range of benefits, such as getting help in battle. Be sure to talk to people around town with a Friendship gauge.