My Rhode Island Red chick keeps
leaning on its left leg and sticks the other one out and sometimes loses it's balance but is fine most of the time it was just hatched about 3 or 4 days ago and the other chick is fine and they are getting along fine but I don't know why the chick stands kinda weird sometimes Welcome to BYC.
Glad that your chick seems to be o.k.
Small chicks can have leg disorders like splay leg.
Make sure she is getting enough to eat and drink. Add some Riboflavin (Vitamin B2) to her diet.
Here is more information on leg issues and how to treat if she starts to decline:
https://www.backyardchickens.com/a/leg-foot-and-toe-issues-in-poultry-of-all-ages
https://sites.google.com/a/poultrypedia.com/poultrypedia/poultry-podiatry