A function have just one output (y) for each input (x). A value of x cannot have different corresponding values of y.
Tables B, C and D have differnet values of y (outputs) to a value of x(input), those are not functions.
Table A has one output (y) for each input (x). As you can see the output (y) can be the same for two or more inputs (x). It is a function