In this answer it is written that,
In modern mathematics, there's a tendency to define things in terms of what they do rather than in terms of what they are.
My questions are,
What is(are) the philosophical and mathematical reason(s) for doing so?
Has there been any criticism of this approach?
Not only in modern mathematics, but in the modern world. Actually, it always has been this way, but it is more clear now.
What defines your money? Is it the fact that it is printed in paper? Why is it that when you have $2+2+1$ dollars it is the same as if you had a single bill of $5$ dollars? Those are different objects, and different quantities. But both buy the same things.
What happens is that both are equivalent, in some sense. If you know the term and stop to think a bit, equivalence classes are around us in everything we do. It is what makes communication and things practical. If someone writes the set $\{1\}$ in a black board, and someone comes and write the "same set" but with an ugly $1$ they are talking about the same thing. But those things are, strictly speaking, different. They are even in different places on the board.
Talking like this makes it sound pedantry and even useless. And it is. That is what mathematics has understood quite well by now. That such philosophical questions are not quite useful (at least in mathematics), and would lead us astray unnecessarily.
What something is is most times irrelevant, and even difficult to properly define (also in natural sciences, not only in mathematics). However, in mathematics, we have some power over defining things, and this allows us to think that we are saying what something is. But most of times when we are defining things we are actually imposing some artificiality corresponding to what we want those things to do. Take a look at the construction of the integers, rational numbers, complex numbers, tensor product etc. Those constructions are, at the end of the day, just a guarantee that something with those properties exist... which is not to say that it is always easy, on the contrary. For example, the construction of ordinal numbers/cardinal numbers is (at least to me) quite enlightening and elaborate. But they are made with something in mind, and with properties that we want in mind. They are, in some sense, models of some idealization of how those things should behave, not what they should be. Pinpointing exactly how something should behave and how to translate it is one of the most important parts of Mathematics.
What matters is that the $1$ I draw on the board plus the $1$ I draw on the board is the same as the ugly $1$ my friend drew plus another ugly $1$ he can draw. None of them is less $1$ than the other, and to worry about it is literally waste of time.