This was an example of one of the untold number of taxes our current system requires to extract wealth from literally every transfer of money it can get its hands on. Funny you pick that one and ignore the entire point.
But it doesn't exist as a means of extracting wealth. It exists because otherwise you could avoid the entire taxation system by just "giving gifts" for every transaction. Many seemingly odd taxes exist for the same reason.