USCIS returned your filing without deciding it. A rejection means the submission did not meet filing requirements -- it is not a decision against you.
What happens next
The rejection notice states what was wrong. Correct it and file again.
Official USCIS wording
On September 9, 2024, we rejected your Form I-485, Application to Register Permanent Residence or Adjust Status, Receipt Number XXXXXXXXXXXXX, because your payment failed. We mailed you a notice explaining our decision and describing what you need to do to resubmit your case. Please follow the instructions in the notice. If you do not receive your rejection notice by October 9, 2024, visit the USCIS Contact Center webpage at www.uscis.gov/contactcenter. If you move, go to www.uscis.gov/addresschange to give us your new mailing address.