The ace can be used for both 1 and 11. So if you get an ace and 7, you get a soft hand, as it could be either 18 or 8. But a hand with an 8 and 10 is hard, because the values are fixed and the score is unchanged.