The Romans would have been attracted to the hot springs, useful for the building of a bath complex.
There was already a Celtic shrine there to the goddess Sulis. Minerva was felt to be sufficiently similar in attributes for the two to be conflated into a single hybrid deity.
They were offerings to gods (a concrete form of prayer, like a sacrifice). At Aquae Sulis, there were found a number of curse tablets.