Chances are the person who inherits a billion dollars is already used to dealing with large amounts of money, and likely has the support structure of accountants and advisors that will help them deal with it.
A lottery winner is usually middle-class or lower, the type of person whose life would be changed by a few thousand dollars, and likely has no idea how to manage wealth of that size.