Hard to tell in the photo, but they look like a concentration of small broken vessels under your skin, like when you have ever caught a your skin in a zipper or something. Maybe you had some kind of low-grade trauma to your thigh that didn't quite break the skin, but did enough to make some of the a great deal of small vessels break just under the skin. That's my thought. BUT, on a more serious note, I would suggest seeing a doctor if you start getting more. I was getting mysterious bruises, well, welts, on my legs that one would DEFINITELY recall getting, but I could not remember getting. I went to the doctor, and they said if I got more within a week I should come again to rule out bleeding disorders, within three days I had another one, so I went back... (no bleeding disorder just an autoimmune/hypersensitivity reaction to stress, the antibiotics and birth control pills I was taking at the time). Thus, I suggest the same to you. If you get more, you should probably go to the doctor, and be specific that they are happening in a seemingly spontaneous manner.
My son had marks like that, al over his back and abdomin... to me the look like stretch marks, my son still gets them, they look like he had a tiger get ahold of him.. he is 6'4 and i believe still getting taller... so maybe growth spurts?. Just a thought.. but thats what they look like to me... is there faint marks like scarring? some of his has gone away but some have scarreds.
I can't answer WHY the marks appeared, but I can tell you that you're not crazy! I woke up one morning and it appeared as if my thigh was BRANDED!!! I couldn't believe it. It was a raised mark like some kind of symbol and it hurt! I never had anything like that in my life. It was so weird to wake up with something like that and to this day, I have not a clue as to how it got there.