Your question as stated, is rather confusing. I assume that what you mean is why thymine is replaced by uracil in RNA? If not, you will have to elaborate!
The short answer is that I do not know; that is a rather specialist question. The following remarks are the purest guesswork and I hope you have enough salt to take them with.
The first thing I observe is that thymine is essentially methylated uracil. Now, putting it vaguely and generally, the methyl group in nucleic acids is like a cork on the sharp end of a practice weapon; its function is largely to prevent, or at least modulate, unwanted effects. This can be to disable certain functions, or it can be to make them more selective.
Consider by way of analogy, the design of a key. It requires two things; it must have gaps where lack of a gap would prevent its entry into the lock in functional positions, and it must have substance where a material projection is needed to push whatever must be pushed to work the lock. Thymine and uracil form very similar hydrogen bonds, but the methyl group on thymine gets in the way when it otherwise would pair cheerfully, but indiscriminately, with other bases. In practice its methyl group makes it bashful in the presence of anything but adenine. Such selectivity is vital in DNA, but RNA is a very different matter.
Uracil is a far more promiscuous base, and will pair with practically anything. This has little to do with the function of RNA, which occurs largely in unpaired chains, but it would be fatal to the transcription function of DNA.
Conversely, RNA has little to do with transcription in that sense, so the presence of uracil hardly matters, but on the other hand its single-stranded functions often involve the formation of (often apparently tangled) tertiary structures resembling those of proteins, and as in the case of proteins, hydrogen bond cross-linking can play many crucial and versatile parts in determining and stabilising such structures. No doubt uracil is valuable in many such positions, where its base-pairing functions would be irrelevant. Sorry to be so vague, but...
All that of course, subject to anyone knowing better...