One of my repositories shows a size of 253.3 MB. I discovered that the issue was due to the history stored in the .git folder. I successfully removed the unnecessary data to reduce the size.
After that, I cloned the repository, and its size was reduced to around 20 MB. However, Bitbucket still shows the size as 253.3 MB.