“…And He (Allah s.w.t.) has raised you in ranks, some above others that He may try you in that which He has bestowed on you…” [Al-An’aam 6:165]
Allah s.w.t. has made you different from each other with regards to provision, conduct, qualities, and so forth, so that He tests you in what He has granted you. Allah tries the rich concerning his wealth and will ask him about how he appreciated it, and He tries the poor concerning his poverty and will ask him about his patience with it. [Tafsir Ibn Kathir]
Allah tests different people with different trials because everyone has a different level of patience, tolerance and faith.