This is the 8319th most frequent Japanese word.
当る
"当る" (ataru) means "to hit," "to be correct," "to win," or "to correspond."
Here, '当る' is used to mean 'to win something' or 'to hit correctly' in the context of a fortunate event like a lottery draw.
宝くじが当たりました。
I won the lottery.
In this case, '当る' is used to describe a physical impact or collision where an object strikes another.
ボールが窓に当たった。
The ball hit the window.
Here, '当る' conveys the sense of 'to be assigned to' or 'to fall upon' in the context of allocation or responsibility.