Inflation and rising fuel costs are behind the fare increases that will go into effect for the ferries between Cape Cod and Martha’s Vineyard and Nantucket next year.