Should I resubmit a rejected paper to the same journal?
It depends on the reason for rejection.

If a paper is rejected because it's off-topic, it's not really interesting, it's not really new, etc.: then perhaps you were too ambitious.  A paper may be perfectly written and the science may be very decent, but still rejected from Nature, because its impact is not really large enough.

However, if a paper is rejected with a motivation like this topic would fit our journal, but some major aspects are missing in the study, and they are so grave that we choose to reject, then you can start over and submit a fixed study.  In fact, I have the impression that some journals that have fixed deadlines for revisions, will reject if it is deemed unrealistic to submit the revision in time.  Otherwise, there could be a huge difference between the submission date and the publication date, and that isn't beneficial to anybody.