Are you on GNU/Bash version 5.1[0]? A new bash variable, SRANDOM added to GNU/Bash-5.1 release, which gets its random data from the system’s entropy engine and is not lined and cannot be reseeded to get an identical random sequence. For example:
echo "$SRANDOM"
for r in {1..5}; do printf "%s\n" "$SRANDOM"; done
[0] https://www.cyberciti.biz/linux-news/gnu-bash-5-1-released-w...